<?php
$v_status = 1;
$v_filter = "";
$v_reporttype_filter = "";
if(isset($_REQUEST['hdn_reporttype_filter'])){
	$v_reporttype_filter = $_REQUEST['hdn_reporttype_filter'];
}
$v_recordtype = "";
if(_is_sqlserver()){//CSDL MSSQL 
	$sql = "Exec Onegate_ReportGetAll " ;
	$sql = $sql . $v_status;
	$sql = $sql . ",'".$v_filter."'";
	$sql = $sql . ",'".$v_recordtype."'";
	//echo $sql;
	$ado_conn->SetFetchMode(ADODB_FETCH_NUM);
	$arr_all_reporttype = $ado_conn->GetAll($sql); 
	$v_count_reporttype = sizeof ($arr_all_reporttype);
}

?>
